package com.zephyr.vchcenter.dao;

import java.util.List;

import com.zephyr.vchcenter.bean.Pagination;

public interface IBaseDao {
	/**
	 * �����
	 * @param transientInstance
	 */
	public void saveOrUpdate(Object transientInstance);
	
	/**
	 *�����
	 * @param transientInstance
	 */
	public void delete(Object transientInstance);
	
	/**
	 *������б?
	 * @param instance
	 * @return������б�
	 */
	public List findByExample(Object instance);
	
	/**
	 * @param clazz
	 * @param id
	 * @return
	 */
	public Object findById(String clazz, String id);

	public Pagination paging(Pagination pagination);

}
